package com.xx.eshop.dao;

import java.util.List;
import java.util.Map;

import com.xx.eshop.entity.Attr;

public interface AttrDao {
	
	public void save(Attr attr);
	
	public void update(Attr attr);
	
	public void delete(int id);
	
	public Attr findOne(int id);
	
	public Attr updateSort(int attrId, int attrSort);

	public List<Attr> findByCategory(int cid);

	public List<Attr> findByCategoryFetch(int cid);
	

}
